
ac.skill('星坠'){
    temp = '攻击触发',
    model1 = [[997.mdl]],
    odds = 15,
    on_run = function(self,hero,target)
        local num = 5 + math.floor(hero:get('多重数量') / 2)
        local group = ac.selector('unit'):range(target,600):enemy(hero):get(num)
        local damage = self:dmg_get()
        for _,unit in ipairs(group) do
            ac.timer(500,3,function()
                unit:add_effect(self.model1):remove()
                ac.wait(500,function()
                    hero:create_damage(unit,damage,self)
                end)
            end):on_timer()
        end
    end
}